1bashThis demonstrates using the tee command to write output to both stdout and a file simultaneously.echo "Log this" | tee logfile.txtexternal toolsteeoutput redirection